// url模块用于解析url，path模块用于处理和转换文件路径
const server = require('./server')
const router = require('./router')
const handler = require('./handler')

let handle = {}
handle['/'] = handler.home
handle['/about'] = handler.about

server.start(router.route, handle)